package leetcode;

import java.util.ArrayList;
import java.util.List;

/**
 * Design a parking lot using object-oriented principles
 * The parking lot has multiple levels. Each level has multiple rows of spots
 * the parking lot can park cars and buses,
 * A car park in one spot.
 * A bus can park in three spots that are consecutive and within the same row
 */
public class Main2 {

    class Parking {
        List<Level> levels;
        int size;
        int usedNum;

        public Parking(int levelSize, int rowSize) {

            this.levels = new ArrayList<>(size);
            this.size = size;
            this.usedNum = 0;
        }


    }

    class Level {
        List<Row> rows;
        int size;
        int usedNum;
        boolean enough;

        public Level(int size, int rowSize) {

            this.size = size;
            this.usedNum = 0;
        }
    }

    class Row {
        int size;
        int usedNum;
        boolean enough;

        public Row(int size) {
            this.size = size;
            this.usedNum = 0;
        }
    }

    class Car {
    }

    class Bus {

    }
}
